//
//  STOrderPushController.swift
//  iPhone
//
//  Created by Toj on 10/19/23.
//

import UIKit

enum STOrderPushType: Int {
    case free
    case order
}

// MARK: - 懒加载(属性), 变量, 初始化init
class STOrderPushController: UIViewController {
    
    var pushType = STOrderPushType.order
    var pushTitle = ""
    
    private let viewModel = OrderPushViewModel()
    
    deinit {
        print("-->startimes: \(st_className) func: deinit")
    }
}

// MARK: - 生命周期
extension STOrderPushController {
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        setupMakeInitialize()
        setupMakeAddSubviews()
        setupMakeLayoutSubviews()
    }
}

// MARK: - 数据请求
extension STOrderPushController {
    
    private func dataRequest() {
        
    }
}

// MARK: - 点击事件/ 通知事件回调
@objc private extension STOrderPushController {
    
}

// MARK: - 子类可重写方法/ objc事件
@objc extension STOrderPushController {
    
}

// MARK: - Public
extension STOrderPushController {
    
}

// MARK: - Private
private extension STOrderPushController {
    
}

// MARK: - 初始化设置
private extension STOrderPushController {
    
    func setupMakeAddSubviews() {
        
    }
    
    func setupMakeLayoutSubviews() {
        
    }
    
    func setupMakeInitialize() {
        view.backgroundColor = .random
    }
}
